﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MedReg.Utils
{
    class Logger
    {
        public static void WriteLine (string Msg)
        {
            var form = Form.ActiveForm as Form1;

            if (form != null)
            {
                form.AddToLogBox(Msg);
                //form.Refresh();
            }
            
        }
    }
}
